<?php
 use yii\helpers\Html;
?>

<?=Html::beginForm('','post',['enctype'=>'multipart/forn-data']);?>
	<?=Html::activeFileInput($upload,'uploadFile',['class'=>'file']);?>
	<?=Html::submitButton('上传',['class'=>'btn btn-primary']);?>
<?=Html::endForm();?>